\startenvironment doc-env

\usemodule[bib]

%% --------------------------- 中文字体
\usetypescriptfile[zhfonts]
\usetypescript[myfont]
\setupbodyfont[myfont,rm,12pt]

%% --------------------------- 交互设置
\setupcolors[state=start]
\setupinteraction[state=start,
                  title={EBBS 开发人员手册},
                  subtitle={EBBS Developers' Manual},
                  author={The EBBS Team},
                  keyword={EBBS Developer Manual},
                  focus=standard,
                  color=blue]
\setupinteractionscreen[option=bookmark]
\placebookmarks[chapter,section][chapter]


%% --------------------------- 版式
% 纸张
\setuppapersize[A4][A4]

% 目录
\setupcombinedlist[content][alternative=c]

% 章节标题
\setupheads[indentnext=yes]

% 段落缩进、行间距、段落间距
\setupinterlinespace[big]
\setupwhitespace[big]
\setupindenting[always,first,2em]
\setupfloats[indentnext=yes] 

\stopenvironment

